package com.oldbook.manage.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.oldbook.manage.mapper.VClassTextbookReportMapper;
import com.oldbook.manage.domain.VClassTextbookReport;
import com.oldbook.manage.service.IVClassTextbookReportService;

/**
 * 视图Service业务层处理
 * 
 * @author Exiaoke
 * @date 2025-02-18
 */
@Service
public class VClassTextbookReportServiceImpl implements IVClassTextbookReportService 
{
    @Autowired
    private VClassTextbookReportMapper vClassTextbookReportMapper;

    /**
     * 查询视图
     * 
     * @param 专业 视图主键
     * @return 视图
     */
    @Override
    public VClassTextbookReport selectVClassTextbookReportBy专业(String 专业)
    {
        return vClassTextbookReportMapper.selectVClassTextbookReportBy专业(专业);
    }

    /**
     * 查询视图列表
     * 
     * @param vClassTextbookReport 视图
     * @return 视图
     */
    @Override
    public List<VClassTextbookReport> selectVClassTextbookReportList(VClassTextbookReport vClassTextbookReport)
    {
        return vClassTextbookReportMapper.selectVClassTextbookReportList(vClassTextbookReport);
    }

    /**
     * 新增视图
     * 
     * @param vClassTextbookReport 视图
     * @return 结果
     */
    @Override
    public int insertVClassTextbookReport(VClassTextbookReport vClassTextbookReport)
    {
        return vClassTextbookReportMapper.insertVClassTextbookReport(vClassTextbookReport);
    }

    /**
     * 修改视图
     * 
     * @param vClassTextbookReport 视图
     * @return 结果
     */
    @Override
    public int updateVClassTextbookReport(VClassTextbookReport vClassTextbookReport)
    {
        return vClassTextbookReportMapper.updateVClassTextbookReport(vClassTextbookReport);
    }

    /**
     * 批量删除视图
     * 
     * @param 专业s 需要删除的视图主键
     * @return 结果
     */
    @Override
    public int deleteVClassTextbookReportBy专业s(String[] 专业s)
    {
        return vClassTextbookReportMapper.deleteVClassTextbookReportBy专业s(专业s);
    }

    /**
     * 删除视图信息
     * 
     * @param 专业 视图主键
     * @return 结果
     */
    @Override
    public int deleteVClassTextbookReportBy专业(String 专业)
    {
        return vClassTextbookReportMapper.deleteVClassTextbookReportBy专业(专业);
    }
}
